package com.huashi.dealer.commonEntity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 规格值实体类
 */
@Getter
@Setter
@Schema(description = "规格值实体")
public class SpecValue {

    @TableId(value = "spec_value_id", type = IdType.AUTO)
    @Schema(description = "规格值ID")
    private Long specValueId;

    @TableField("spec_id")
    @Schema(description = "规格ID")
    private Long specId;

    @TableField("spec_value")
    @Schema(description = "规格值")
    private String specValue;

    @TableField("is_delete")
    @TableLogic
    @Schema(description = "软删除标记")
    private Integer isDelete;

    @TableField("create_time")
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
} 